package cn.sdormitory.report.dao;

import cn.sdormitory.report.vo.ClassAttenceStaVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @创建人：zhouyang
 * @创建时间：2022/1/17 15:59
 * @version：V1.0
 */
@Mapper
public interface ClassAttenceStaDao extends BaseMapper<ClassAttenceStaVO> {
    List<ClassAttenceStaVO> getClassAttenceStaList(@Param("accessDate") String accDate,@Param("timeSlot") String timeSlot,@Param("classDeptId") String classDeptId, @Param("currIndex") int currIndex, @Param("pageSize") int pageSize);
    Long getTotalCountByDate(@Param("accessDate") String accDate,@Param("timeSlot") String timeSlot,@Param("classDeptId") String classDeptId);
    List<ClassAttenceStaVO> getClassAttenceStaListExport(@Param("accessDate") String accDate,@Param("timeSlot") String timeSlot,@Param("classDeptId") String classDeptId);
}
